package top.lemna.base.core.exception;

import lombok.Getter;

@Getter
public class RecordNotExistException extends RecordException {
  private static final long serialVersionUID = 1L;

  private Long id;

  protected RecordNotExistException(String message) {
    super(message);
  }

  public RecordNotExistException(Long id) {
    super("找不到对应的记录");
    this.id = id;
  }
}
